package com.itheima.dao;


import com.domain.Book;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

/**
 * @author JXY
 * @description 针对表【tb_book】的数据库操作Service实现
 * @createDate 2024-12-10 14:41:22
 * @Entity com.domain.Book
 */
@Component
public interface BookMapper {
    @Select("select * from tb_book where id = #{id}")
    public Book findBookById(Integer id);
}
